<?php /* Smarty version 2.6.20, created on 2017-06-04 10:30:30
         compiled from categorys.htm */ ?>
<!--全部商品分类 begin-->
<div class="sort">
    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=list" target="_blank" class="sort-ti">全部商品分类</a>
    <div class="sort-list">
        <ul>
            <?php $_from = $this->_tpl_vars['cat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['vo']):
?>
            <li class="">
                <?php if ($this->_tpl_vars['vo']['catid'] == 1008): ?>
                <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=news&s=list" target="_blank" class="sort-list-<?php echo $this->_tpl_vars['key']+1; ?>
 lnk" ><span><?php echo $this->_tpl_vars['vo']['cat']; ?>
</span></a>
                <?php elseif ($this->_tpl_vars['vo']['catid'] == 1009): ?>
                <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=news&s=list_article" target="_blank" class="sort-list-<?php echo $this->_tpl_vars['key']+1; ?>
 lnk" ><span><?php echo $this->_tpl_vars['vo']['cat']; ?>
</span></a>
                <?php else: ?>
                <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=list&id=<?php echo $this->_tpl_vars['vo']['catid']; ?>
" target="_blank" class="sort-list-<?php echo $this->_tpl_vars['key']+1; ?>
 lnk" ><span><?php echo $this->_tpl_vars['vo']['cat']; ?>
</span></a>
                <?php endif; ?>
                <?php if ($this->_tpl_vars['vo']['catid'] != 1008 && $this->_tpl_vars['vo']['catid'] != 1009): ?>
                <div class="sort-layer">
                    <a class="ri-close" href="javascript:void(0)">关闭</a>
                    <dl class="layer-top">
                        <dt><?php echo $this->_tpl_vars['vo']['cat']; ?>
</dt>
                        <dd>
                            <span>&gt;</span>
                            <?php $_from = $this->_tpl_vars['vo']['sub_cat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['vv']):
?>
                            <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
?m=product&s=list&id=<?php echo $this->_tpl_vars['vv']['catid']; ?>
" target="_blank" ><?php echo $this->_tpl_vars['vv']['cat']; ?>
</a><i>|</i>
                            <?php endforeach; endif; unset($_from); ?>

                        </dd>
                    </dl>
                    <div class="layer-info">
                        <div class="layer-hd">相关热门</div>
                        <ul class="showlist">
                            <?php $_from = $this->_tpl_vars['vo']['product_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['vv']):
?>
                            <li class="img">
                                <a  href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=detail&id=<?php echo $this->_tpl_vars['vv']['id']; ?>
"  title="<?php echo $this->_tpl_vars['vv']['ftitle']; ?>
" class="img">
                                <img src="<?php echo $this->_tpl_vars['vv']['pic']; ?>
" height="198" width="145"></a>
                                <a  href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=detail&id=<?php echo $this->_tpl_vars['vv']['id']; ?>
" target="_blank" title="<?php echo $this->_tpl_vars['vv']['ftitle']; ?>
" class="title"><?php echo $this->_tpl_vars['vv']['ftitle']; ?>
</a>
                                <span class="price">票价：<strong><i class="yen">¥</i><?php echo $this->_tpl_vars['vv']['price']; ?>
</strong></span>
                            </li>
                            <?php endforeach; endif; unset($_from); ?>
                        </ul>
                    </div>
                </div>
                <?php endif; ?>

            </li>
            <?php endforeach; endif; unset($_from); ?>
        </ul>
    </div>
</div>
<!--全部商品分类 end-->